import request from '@/utils/request'
const api_name = '/admin/statistics/daily'
export default {
    //生成统计数据
  createStatistics(day) {
    return request({
      url: `/staservice/sta/${day}`,
      method: 'post'
    })
  },
  showChart(searchObj) {
    return request({
        url: `/staservice/sta/showchart/${searchObj.begin}/${searchObj.end}/${searchObj.type}`,
        method: 'get'
    })
}


}